Contribution org.nuxeo.platform.TemplateSources.contentView.contrib--contentViews
org.nuxeo.platform.TemplateSources.contentView.contrib
inside nuxeo-template-rendering-web-5.8.jar
This contribution is part of XML component Extension Point
Extension point contentViews of component ContentViewService.Contributed Items
XML Source
<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">
<contentView name="TEMPLATE_USAGE">
<title>label.template.usage</title>
<translateTitle>true</translateTitle>
<showTitle>true</showTitle>
<coreQueryPageProvider>
<property name="coreSession">#{documentManager}</property>
<pattern>
SELECT * FROM Document WHERE ecm:mixinType = 'TemplateBased' AND
ecm:currentLifeCycleState != 'deleted' AND
nxts:bindings/*/templateId IN ? AND ecm:isCheckedInVersion = ?
</pattern>
<parameter>#{templateActions.templateAndVersionsUUIDs}</parameter>
<parameter>#{templateActions.checkedInVersion}</parameter>
<sort ascending="true" column="dc:title"/>
<pageSize>20</pageSize>
</coreQueryPageProvider>
<showFilterForm>false</showFilterForm>
<showPageSizeSelector>true</showPageSizeSelector>
<useGlobalPageSize>true</useGlobalPageSize>
<refresh>
<event>documentChanged</event>
<event>documentCreated</event>
</refresh>
<cacheSize>10</cacheSize>
<cacheKey>#{currentDocument.id}-#{templateActions.showVersions}</cacheKey>
<resultLayouts>
<layout iconPath="/icons/document_listing_icon.png" name="document_listing_ajax" showCSVExport="true" showPDFExport="false" showSyndicationLinks="true" title="document_listing" translateTitle="true"/>
<layout iconPath="/icons/document_listing_compact_2_columns_icon.png" name="document_listing_ajax_compact_2_columns" showCSVExport="true" showPDFExport="false" showSyndicationLinks="true" title="document_listing_compact_2_columns" translateTitle="true"/>
<layout iconPath="/icons/document_listing_icon_2_columns_icon.png" name="document_listing_ajax_icon_2_columns" showCSVExport="true" showPDFExport="false" showSyndicationLinks="true" title="document_listing_icon_2_columns" translateTitle="true"/>
</resultLayouts>
<selectionList>CURRENT_SELECTION</selectionList>
<actions category="CURRENT_SELECTION_LIST"/>
</contentView>
</extension>